#include"stack.h"
#include"queue.h"
#include<iostream>
#include<list>
#include<vector>

using namespace std;

int main()
{
	lzz::stack<int,vector<int>> st;
	st.push(1);
	st.push(2);
	st.push(3);
	st.push(4);
	while (!st.empty())
	{
		cout << st.top() << " ";
		st.pop();
	}	
	cout << endl;
	lzz::queue<int,list<int>> q;
	q.push(1);
	q.push(2);
	q.push(3);
	q.push(4);
	while (!q.empty())
	{
		cout << q.front() << " ";
		q.pop();
	}
	return 0;
}